package com.fen;

import org.springframework.transaction.annotation.Transactional;

@Transactional
public class UserService {

	private UserDao userDao;

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}
	
	public void insert() {
		System.out.println("UserService.insert()");
		userDao.add();
	}
}
